#!/bin/bash
# Zaitan Module - Automatix Install
# Zaitan Team <http://zaitan.net/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Variados'
RMOD_NAME='Automatix'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='2.0.5'
RMOD_DESCRIPTION='Installs Automatix'



# install Automatix

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

cd /usr/share/zaitan
apt-get update
	
	wget -c http://www.getautomatix.com/apt/dists/gutsy/main/binary-i386/automatix2_2.0.5-7.10gutsy_i386.deb
	dpkg -i automatix2_2.0.5-7.10gutsy_i386.deb
	apt-get -f install



echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

